package cn.getech.data.development.service;


import cn.getech.data.development.entity.JobNodeRunHistory;
import cn.getech.data.development.model.dto.LogAndIdDto;
import cn.getech.data.intelligence.common.utils.PageUtils;
import cn.getech.system.center.entity.SysUserEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 任务执行历史表 服务类
 * </p>
 *
 * @author zenith
 * @since 2018-08-27
 */
public interface JobNodeRunHistoryService extends IService<JobNodeRunHistory> {

    PageUtils queryPage(Map<String, Object> params);

    void removeLogicBatch(List<String> ozJobIds);

    List<SysUserEntity> logUsers(Integer type);

    List<LogAndIdDto> limitListsByJobId(Integer jobId);

    List<String> listByOozieId(String lastOozieJobId);

    List<LogAndIdDto> limitListsByOOzieIds(List<String> oozieIds);
}
